<%-- 
    Document   : listadoCarreras
    Created on : 22/02/2013, 05:27:43 PM
    Author     : Ricardo
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Las carreras son:</h1>
    <table border=1 align="right" width="60%">
        <tr><th>Nombre</th><th>Activo</th></tr>
        <c:forEach items="${ListaCarreras}" var="car">
            <tr>
                <td>${car.descCarrera}</td>
                <td>${car.activo}</td> 
                <td><a href="controlador?operacion=eliminarCarrera&codigo=${car.codCarrera}">Eliminar</a>
            </tr>
        </c:forEach>
    </table>
        <a href="index.jsp">Inicio</a>
    </body>
</html>